package com.cc.blog.admin.domain.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 删除文章 DTO
 * @Author cc
 * @Date 2024/7/11 16:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "删除文章 DTO")
public class DeleteArticleReqDTO {

    @NotNull(message = "文章 ID 不能为空")
    private Long id;
}
